package util

import "github.com/gogf/gf/container/gvar"

func AliceGvarToString(vars []*gvar.Var) []string {
	r := []string{}
	for _, v := range vars {
		s := v.String()
		r = append(r, s)
	}
	return r
}

func AliceGvarToUint(vars []*gvar.Var) []uint {
	r := []uint{}
	for _, v := range vars {
		r = append(r, v.Uint())
	}
	return r
}
